import requests



headers={



    'method':'GET',
    'path':
'/upgcxcode/40/30/1449003040/1449003040_x1-1-100024.m4s?'
'e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1716009071&gen=playurlv2&os=mcdn&oi=1778814042&trid=00009f045afa66854f9e94cb5585d312ce53p&mid=212024484&platform=pc&upsig=218357d52160086758afbe837c322004&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&mcdnid=50003764&bvc=vod&nettype=0&orderid=0,3&buvid=5CAACAAA-F15D-0F51-1C43-E0A56316FF0D20279infoc&build=0&f=p_0_0&agrr=0&bw=19009&logo=A0020000',
'Range':
'bytes=3365735-3494775',
    'referer': 'https://www.bilibili.com/bangumi/play/ep815163?spm_id_from=333.337.0.0&from_spmid=666.25.episode.0',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0'
}

url='https://www.bilibili.com/bangumi/play/ep815163?spm_id_from=333.337.0.0&from_spmid=666.25.episode.0'

response=requests.get(url=url,headers=headers)
print(response)